Manager Protocols
-
See moreVOAuthClientis passed into theVOUserManagerto manage registration and automatic token refreshing. A class must implementVOAuthClientand be passed into theVOUserManagerlogin call.Declaration
Objective-C
@protocol VOAuthClient <NSObject>Swift
protocol VOAuthClient : NSObjectProtocol
-
Objects that conform to the
See moreVOCachProtocolwill be responsible for saving objects in temporal storage.Declaration
Objective-C
@protocol VOCacheProtocolSwift
protocol VOCacheProtocol
-
See moreVOGameManagerProtocolis the interface for all game related network requests. SeeVOGameManagerfor the default implementation of the interface.Declaration
Objective-C
@protocol VOGameManagerProtocol <NSObject>Swift
protocol VOGameManagerProtocol : NSObjectProtocol
-
See moreVOVoucherManagerProtocolis the protocol for theVOVoucherManager. This protocol is responsible for all network and caching methods for aVOVoucher(Gift).Declaration
Objective-C
@protocol VOVoucherManagerProtocolSwift
protocol VOVoucherManagerProtocol
-
Objects that conform to this interface are responsible for retrieving
See moreVOMerchants from the Vouchr Server.Declaration
Objective-C
@protocol VOMerchantManagerProtocol <NSObject>Swift
protocol VOMerchantManagerProtocol : NSObjectProtocol
-
VONetworkManagerProtocolis the interface for Vouchr’sVONetworkManager. TheVONetworkManageris responsible for all client -> server communication with the Vouchr Server.To replace the
See moreVONetworkManager, implement this protocol with the replacementVONetworkManager.Declaration
Objective-C
@protocol VONetworkManagerProtocolSwift
protocol VONetworkManagerProtocol
-
See moreVOPersistManagerProtocolis the interface for saving information indefinitely.Declaration
Objective-C
@protocol VOPersistManagerProtocolSwift
protocol VOPersistManagerProtocol
-
See moreVOAnalyticsManagerProtocolis the interface for tracking analytics. Analytic events will be triggered to a manager implementing this interface.Declaration
Objective-C
@protocol VOAnalyticsManagerProtocolSwift
protocol VOAnalyticsManagerProtocol
-
See moreVOUserManagerProtocolis an interface for allVOUserrelated network calls. If not using the defaultVOUserManager, the replacement must adhere to this protocol.Declaration
Objective-C
@protocol VOUserManagerProtocolSwift
protocol VOUserManagerProtocol
-
See moreVOWrappingPaperManagerProtocolis the interface for retrievingVOWrappingPaperMedias from the Vouchr Server.Declaration
Objective-C
@protocol VOWrappingPaperManagerProtocolSwift
protocol VOWrappingPaperManagerProtocol
-
See moreVOYoutubeManagerProtocolis the interface responsible for getting Youtube Videos.Declaration
Objective-C
@protocol VOYoutubeManagerProtocolSwift
protocol VOYoutubeManagerProtocol
View on GitHub
Manager Protocols Reference